home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr28
/
ipxtcpip.zip
/
NCSA.BAT
< prev
Wrap
DOS Batch File
|
1993-03-06
|
1KB
|
44 lines
@echo off
if #%configtel%==# goto bgn
if not exist %configtel% goto bgn
s:\utility\internet\ipxtcpcfg s:\public\users.wrs NET NUL
if not errorlevel 2 goto arg
goto end
:bgn
s:\utility\internet\ipxtcpcfg s:\public\users.wrs NET s:\utility\internet\NCSA\IPX$NCSA.CFG
if errorlevel 2 goto end
call IPX$NCSA.BAT
erase IPX$NCSA.BAT
purge IPX$NCSA.BAT>NUL
:arg
if exist s:\utility\internet\NCSA\%1.EXE goto run
if #%1==# goto dir
if %1==t goto tel
if %1==T goto tel
if %1==f goto ftp
if %1==F goto ftp
if %1==p goto pwd
if %1==P goto pwd
goto dir
:run
s:\utility\internet\NCSA\%1 %2 %3 %4 %5 %6 %7 %8 %9
goto end
:tel
s:\utility\internet\NCSA\telnet %2 %3 %4 %5 %6 %7 %8 %9
goto end
:ftp
s:\utility\internet\NCSA\ftp %2 %3 %4 %5 %6 %7 %8 %9
goto end
:pwd
s:\utility\internet\NCSA\telpass passwd.ftp
goto end
:dir
echo The following programs can be used
echo (specify name as batch parameter):
echo TELNET, FTP - terminal, file transfer
echo TELPASS - password file maintenance
echo DOS2UNIX, UNIX2DOS - file conversion
echo T or F can be used instead TELNET or FTP
echo P is equivalent to TELPASS PASSWD.FTP
:end